package com.yipinhouse.signing.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 签约表
 * </p>
 *
 * @author WangCong
 * @since 2022-12-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("signing")
public class Signing implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 经纪人ID
     */
    private Integer brokerId;

    /**
     * 成交时间
     */
    private String finishTime;

    /**
     * 合同表ID
     */
    private Integer contractId;

    /**
     * 成交价格
     */
    private BigDecimal tradePrice;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 类型:RENT出租|SALE出售
     */
    private String type;

    /**
     * 门店ID
     */
    private Integer shopId;


}
